package object;

public class studentProTest {
    public static void main(String[] args) {
        studentPro s1 = new studentPro();
        s1.setName("张三");
        s1.setAge(18);
        s1.setSex("男");

        System.out.println(s1.getName());
        System.out.println(s1.getAge());
        System.out.println(s1.getSex());

        s1.eat();
        s1.sleep();
    }
}
